package com.xiashitech.agent.instrumentation.context;

import lombok.Getter;
import lombok.Setter;

public class BaggageIsModify {
    @Getter
    @Setter
    private static ThreadLocal<Boolean> context = new ThreadLocal() {
        protected Boolean initialValue() {
            return Boolean.FALSE;
        }
    };

    public static Boolean getIsModify() {
        return context.get();
    }

    public static void setIsModify(Boolean isModify) {
        context.set(isModify);
    }
}
